﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
using WOWA.Model.Servers;
using System.IO;
using System.Windows.Markup;
using WOWA.Utility;

namespace WOWA.Model
{
	public static class Consts
	{
		private static List<Server> servers;

		public static IList<Server> Servers
		{
			get { return Consts.servers; }
		}

		static Consts()
		{
			ResourceDictionary dict = ResourceUtility.GetResourceDictionary("/WOWA.Model;component/Dictionary.xaml");

			servers = new List<Server>();
			servers.Add(dict["China"] as Server);
			servers.Add(dict["USA"] as Server);
			servers.Add(dict["Europe"] as Server);
			servers.Add(dict["Korea"] as Server);
			servers.Add(dict["Taiwan"] as Server);
		}
	}
}
